<!DOCTYPE HTML><?php get_component('layoutBuilder', 'buildLayout')?>
<html lang="<?php echo $sf_user->getCulture() ?>">
<?php include_partial('global/head') ?>
<body>
<!--	<img id="mp3" src="/project_css_js/img/mp3.png" alt="" />-->
	<div id="container">
	    <div class="content body">
		    <img id="pen" src="/project_css_js/img/pen.png" alt="" />
		    <img id="pens" src="/project_css_js/img/pens.png" alt="" />
		    <img id="caffe" src="/project_css_js/img/caffe.png" alt="" />

		    <a href="<?php include_component('linker', 'localizedHomepage')?>" id="logo"><img src="/project_css_js/img/logo.png" alt="" /></a>

		    <div id="book">
			<div id="bnr1">
			    <?php include_component('bannersOnTopWidget','render') ?>			
			</div>

			<?php include_component('headerMenu','render') ?>

			<?php //include_component('bannersOnFrontWidget','render') ?>
			<?php //include_component('bannersWidget','render') ?>
			<?php include_slot('bannersOnFrontpage'); ?>
			<?php include_slot('banners'); ?>
			
			<?php //include_component('bannerCycleWidget','render'); ?>
			<?php include_slot('bannerCycle'); ?>


			<div id="content">
			    <?php include_slot('article'); ?>
			    <?php include_slot('contact'); ?>
			</div>
			    <script type="text/javascript">
			    function degreesToRadians(num) {
				    return (num) * Math.PI / 180;
			    }
			    function createIEMatrixString(M) {
				    return 'M11=' + M.e(1, 1) + ', M12=' + M.e(1,2) + ', M21=' + M.e(2,1) + ', M22=' + M.e(2,2);
			    }
			    function rotateElement(e, deg) {
				if(e){
				    deg_str = deg + "";
				    rotate_transform = "rotate(" + deg + "deg)";
				    matrix_str = createIEMatrixString(Matrix.Rotation(degreesToRadians(deg)));
				    filter_str = "progid:DXImageTransform.Microsoft.Matrix(sizingMethod='auto expand', " + matrix_str + ")";

				    e.style["rotation"] = deg_str + "deg"; // CSS3
				    e.style.MozTransform = rotate_transform; // Moz
				    e.style.OTransform = rotate_transform; // Opera
				    e.style.WebkitTransform = rotate_transform; // Webkit/Safari/Chrome
				    e.style.filter = filter_str; // IE 6/7
				    e.style.MsFilter = filter_str; // IE 8
				    e.style["zoom"] = "1"; // ??? Probably IEs
				}
			    }
			    
			    rotateElement(document.getElementById("p1"), -15);
			    rotateElement(document.getElementById("p2"), 10);
			    rotateElement(document.getElementById("p3"), -15);
			    rotateElement(document.getElementById("p4"), -2);
			    rotateElement(document.getElementById("p5"), -15);
			    rotateElement(document.getElementById("p6"), 2);
			    rotateElement(document.getElementById("slider"), 3);
			    
			    if($.browser.msie){
				$('.picture-frame').css('background-color', 'white');
			    }
			    </script>
		    </div>

	    </div>
	</div>
</body>
</html>